package com.world.cat.pojo;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by gang on 2016/7/1 0001.
 */
//zTree的TreeNode模型
public class TreeNode {
    private String id;
    private String pId;
    private String name;
    private Boolean checked;
    private List<TreeNode> children = new ArrayList<>();

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Boolean getChecked() {
        return checked;
    }

    public void setChecked(Boolean checked) {
        this.checked = checked;
    }

    public List<TreeNode> getChildren() {
        return children;
    }

    public void setChildren(List<TreeNode> children) {
        this.children = children;
    }
}
